package com.pcbly.web.bean.crm;

import java.util.Date;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

public class XsskBean extends AbstractBaseBean {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -17075123000416708L;
	private Date skDate;  //收款日期
	private String clientName;  //客户名称
	private String skzh;    //收款账户
	private String jsr;     //经手人
	private double skje = 0; //收款金额
	private String state;    //状态
	private String remark;	 //备注
	private String isYsk;//是否预收款
	private double yskYe = 0; //预收款余额
	private String czr; //操作人
	
	//删除关键字
	//在销售单发生提交时如果发生了收款，需要将销售单ID写入
	//在发生销售现金退货时，需要将销售退货单ID写入
	private String deleteKey = "";
	
	
	 
	public Date getSkDate() {
		return skDate;
	}

	public void setSkDate(Date skDate) {
		this.skDate = skDate;
	}

	public String getClientName() {
		return clientName;
	}

	public void setClientName(String clientName) {
		this.clientName = clientName;
	}

	public String getSkzh() {
		return skzh;
	}

	public void setSkzh(String skzh) {
		this.skzh = skzh;
	}

	public String getJsr() {
		return jsr;
	}

	public void setJsr(String jsr) {
		this.jsr = jsr;
	}

	public double getSkje() {
		return skje;
	}

	public void setSkje(double skje) {
		this.skje = skje;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getIsYsk() {
		return isYsk;
	}

	public void setIsYsk(String isYsk) {
		this.isYsk = isYsk;
	}

	public double getYskYe() {
		return yskYe;
	}

	public void setYskYe(double yskYe) {
		this.yskYe = yskYe;
	}

	public String getCzr() {
		return czr;
	}

	public void setCzr(String czr) {
		this.czr = czr;
	}

	public String getDeleteKey() {
		return deleteKey;
	}

	public void setDeleteKey(String deleteKey) {
		this.deleteKey = deleteKey;
	}

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}
